package com.eliteams.quick4j.web;

import com.eliteams.quick4j.core.util.CustomizedPropertyPlaceholderConfigurer;

/**
 * 钉钉常量
 * @author lin35
 *
 */
public class Env {

    //	public static final String OAPI_HOST = "https://oapi.dingtalk.com";
    //	public static final String OA_BACKGROUND_URL = ""; 
    //	public static final String CORP_ID = "ding48a871c8b3ebc6a9";
    //	
    //	public static final String SECRET = "YHhX5nX2Rse88bNqWn8-euMjDCMBFo2z9FZZethi9cDznnyaSJ0n7SWv5JuOkeO6";
    //	public static final String SSO_Secret = "CtEgf9tJxRqI_YcSPNZVcizlZX823kDj9RBhw-6IBsVEf5g7oP3MRUO0kqAdEwFN";
    //
    //	
    //	public static String suiteTicket; 
    //	public static String authCode; 
    //	public static String suiteToken; 
    //
    //	public static final String CREATE_SUITE_KEY = "suite4xxxxxxxxxxxxxxx";
    //	public static final String SUITE_KEY = "suitelp5juvvoammbykj2";
    //	public static final String SUITE_SECRET = "dUw-yaPdiGkwFESvLsjLlY4uIi9i8dstEbXQzDUtwWXeo59q_Ja5k83OdHmBtzEq";
    //	public static final String TOKEN = "linke";
    //	public static final String ENCODING_AES_KEY = "d69bo9quh8q2vi69bymhgf22q19215rqnerhwt7y1rb";

    public static final String OAPI_HOST         = (String) CustomizedPropertyPlaceholderConfigurer
                                                     .getContextProperty("oapi.host");
    public static final String OA_BACKGROUND_URL = (String) CustomizedPropertyPlaceholderConfigurer
                                                     .getContextProperty("oa.background.url");
    public static final String CORP_ID           = (String) CustomizedPropertyPlaceholderConfigurer
                                                     .getContextProperty("corp.id");

    public static final String SECRET            = (String) CustomizedPropertyPlaceholderConfigurer
                                                     .getContextProperty("secret");
    public static final String SSO_Secret        = (String) CustomizedPropertyPlaceholderConfigurer
                                                     .getContextProperty("sso.secret");

    public static String       suiteTicket;
    public static String       authCode;
    public static String       suiteToken;

    public static final String CREATE_SUITE_KEY  = "suite4xxxxxxxxxxxxxxx";
    public static final String SUITE_KEY         = (String) CustomizedPropertyPlaceholderConfigurer
                                                     .getContextProperty("suite.key");
    public static final String SUITE_SECRET      = (String) CustomizedPropertyPlaceholderConfigurer
                                                     .getContextProperty("suite.secret");
    public static final String TOKEN             = (String) CustomizedPropertyPlaceholderConfigurer
                                                     .getContextProperty("token");
    public static final String ENCODING_AES_KEY  = (String) CustomizedPropertyPlaceholderConfigurer
                                                     .getContextProperty("encoding.aes.key");

}
